<html>
<head>

</head>
<body>
<script  src="/demo2/js/demo2.js">
    window.onload = function () {
    console.log(s);
    var htmlstr = " <ul>";

    for (let index = 0; index < Oper.length; index++) {
        htmlstr += " <li style='font-weight: bold;'>" + s[index].name + " 【" + s[index].type + "】</li>";
     
        for(let i = 0;i < s[index].option.length;i++){
            htmlstr +="  <li>    <input type='radio' value='" + s[index].option[i]+"'name='"+ index + "'>"+s[index].option[i]+"</li>";
        }

          htmlstr +=" <li>" + s[index].answer + "  </li>";
          
    }
    htmlstr += " </ul>";

    document.getElementById("operList").innerHTML = htmlstr;


}
</script>
</body>
</html>